package club.pinea.util;

import club.pinea.proto.BasicProto;

public class ResUtil {

    /**
     * 判断正确
     * @param res
     * @return
     */
    public static boolean isSuccess(BasicProto.Res res) {
        return res.getStatus() == BasicProto.ResStatus.SUCCESS_VALUE;
    }

}
